package dao;

import model.Goods;

import java.util.List;
import java.util.Map;

public interface IGoodsDao {
    public List<Goods> query(Goods goods);
    public int totalCount(Goods goods);

    public List<Goods> selectParentId(Goods goods);

    public List<Goods> selectSortId(Goods goods);

    public int update(Goods goods);

    public int insert(Goods goods);

    public List<Goods> queryOff(Goods goods);
    public int totalCountOff(Goods goods);

    public int updateStatus(Map<String , String> map);

}
